package com.xiaoxu.intranetweb.mybatisplusSzappdb.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 产品信息表
 * </p>
 *
 * @author xiaoxu
 * @since 2022-12-27
 */
@Data
@TableName("c_products_info")
@ApiModel(value = "CProductsInfo对象", description = "产品信息表")
public class CProductsInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private BigDecimal pdtinfId;

    private BigDecimal pdtinfSn;

    @ApiModelProperty("0.未知 1.粉煤灰 2.石膏 3.渣 4.进货类，也可自定义")
    private String pdtinfClass;

    private String pdtinfPdt;

    private BigDecimal pdtinfBundPdt;

    private String pdtinfAlias;

    private BigDecimal pdtinfPrice;

    @ApiModelProperty("隶属于哪个电厂下属单位")
    private String pdtinfSubjectId;
    //品种容量
    private Integer pdtinfCapacity;

    @ApiModelProperty("暂定为最多15个")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String pdtinfSpeSitelist;

    @ApiModelProperty("指定装载点品种编号列表")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String pdtinfSpeSnlist;

    @ApiModelProperty("指定装载点下灰口数列表")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String pdtinfSpeGateslist;

    @ApiModelProperty("指定装载点预备车辆数列表")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String pdtinfSpeReadylist;

    @ApiModelProperty("指定装载点一次请进的车辆数列表")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String pdtinfSpePleaseoncelist;

    private LocalDateTime svrTmstamp;

    private LocalDateTime cliTmstamp;

    @ApiModelProperty("指定装载点使能")
    private Integer pdtinfSpeLoadsite;

    private Integer pdtinfLoadCtrl;

    private Integer pdtinfIdentyLoad;

    private Integer pdtinfPlanCtrl;

    private Integer pdtinfQueue;

    private Integer pdtinfIdentyQueue;

    @ApiModelProperty("0-出货类 ；1-进货类")
    private int pdtinfStockcls;

    @ApiModelProperty("标志此条信息已经删除，用来同步服务器数据库")
    private Integer pdtinfDeleted;

    @ApiModelProperty("当服务器断开时所增加/修改过的记录")
    private Integer pdtinfNew;
    @TableField("DownedID1")
    private Integer downedID1;
@TableField("DownedID2")
    private Integer downedID2;
@TableField("DownedID3")
    private Integer downedID3;
@TableField("DownedID4")
    private Integer downedID4;
@TableField("DownedID5")
    private Integer downedID5;
@TableField("DownedID6")
    private Integer downedID6;
@TableField("DownedID7")
    private Integer downedID7;
@TableField("DownedID8")
    private Integer downedID8;
@TableField("DownedID9")
    private Integer downedID9;
@TableField("DownedID10")
    private Integer downedID10;
@TableField("DownedID11")
    private Integer downedID11;
@TableField("DownedID12")
    private Integer downedID12;
@TableField("DownedID13")
    private Integer downedID13;
@TableField("DownedID14")
    private Integer downedID14;
@TableField("DownedID15")
    private Integer downedID15;
@TableField("DownedID16")
    private Integer downedID16;
@TableField("DownedID17")
    private Integer downedID17;
@TableField("DownedID18")
    private Integer downedID18;
@TableField("DownedID19")
    private Integer downedID19;
@TableField("DownedID20")
    private Integer downedID20;

    private Integer competeFlag;

    @ApiModelProperty("数据来源厂区")
    private String dataFrom;

//    @ApiModelProperty("品种装载点，使用.分割")
//    private String speloadsitepdtList;

}
